<?php if ( !dynamic_sidebar('left') ) : ?>
<div class="widget_archive">
<h3>时间选择</h3>
<ul>
<?php wp_get_archives(); ?>
</ul>
</div>
<!--Category-->
<div class="widget_categories">
<h3>分类目录</h3>
<ul>
<?php wp_list_categories('show_count=1&hierarchical=1depth=2&title_li='); ?>
</ul>
</div>
<!--Tag Cloud-->
<div class="widget_tag_cloud">
<h3>标签云</h3>
<div class="tags"><?php wp_tag_cloud('smallest=10&largest=14&number=20&order=RAND'); ?>
</div>
</div>
<?php endif;?>
<?php if($GLOBALS['option']['friendlink_display']):if( is_home() ):?>
<div class="widget_links">
<h3>友情链接</h3>
<ul>
<?php wp_list_bookmarks('title_li=&categorize=0');?>
</ul>
</div>
<?php endif;endif;?>